<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{saleConditionTypeBean.id}"/>
		<f:event type="preRenderView" listener="#{saleConditionTypeBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sale Condition Type"/>

	<ui:define name="header">
		Sale Condition Type
	</ui:define>

	<ui:define name="subheader">
		View existing Sale Condition Type
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeSaleContTypeCode" value="Sale Cont Type Code:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeSaleContTypeCode" value="#{saleConditionTypeBean.saleConditionType.saleContTypeCode}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeSaleContTypeDescr" value="Sale Cont Type Descr:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeSaleContTypeDescr" value="#{saleConditionTypeBean.saleConditionType.saleContTypeDescr}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeVehicleTypeNo" value="Vehicle Type No:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeVehicleTypeNo" value="#{saleConditionTypeBean.saleConditionType.vehicleTypeNo}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeInterestRate" value="Interest Rate:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeInterestRate" value="#{saleConditionTypeBean.saleConditionType.interestRate}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee01CalcType" value="Loan Fee 01Calc Type:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee01CalcType" value="#{saleConditionTypeBean.saleConditionType.loanFee01CalcType}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee01Perc" value="Loan Fee 01Perc:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee01Perc" value="#{saleConditionTypeBean.saleConditionType.loanFee01Perc}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee01ValMin" value="Loan Fee 01Val Min:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee01ValMin" value="#{saleConditionTypeBean.saleConditionType.loanFee01ValMin}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee01ValMax" value="Loan Fee 01Val Max:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee01ValMax" value="#{saleConditionTypeBean.saleConditionType.loanFee01ValMax}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanValMin" value="Loan Val Min:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanValMin" value="#{saleConditionTypeBean.saleConditionType.loanValMin}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanValMax" value="Loan Val Max:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanValMax" value="#{saleConditionTypeBean.saleConditionType.loanValMax}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeAssetLifeMinYear" value="Asset Life Min Year:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeAssetLifeMinYear" value="#{saleConditionTypeBean.saleConditionType.assetLifeMinYear}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeAssetLifeMaxYear" value="Asset Life Max Year:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeAssetLifeMaxYear" value="#{saleConditionTypeBean.saleConditionType.assetLifeMaxYear}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeInstallmentMin" value="Installment Min:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeInstallmentMin" value="#{saleConditionTypeBean.saleConditionType.installmentMin}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFeeCalcType" value="Loan Fee Calc Type:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFeeCalcType" value="#{saleConditionTypeBean.saleConditionType.loanFeeCalcType}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFeePerc" value="Loan Fee Perc:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFeePerc" value="#{saleConditionTypeBean.saleConditionType.loanFeePerc}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFeeVal" value="Loan Fee Val:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFeeVal" value="#{saleConditionTypeBean.saleConditionType.loanFeeVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee02CalcType" value="Loan Fee 02Calc Type:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee02CalcType" value="#{saleConditionTypeBean.saleConditionType.loanFee02CalcType}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee02Perc" value="Loan Fee 02Perc:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee02Perc" value="#{saleConditionTypeBean.saleConditionType.loanFee02Perc}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee02ValMin" value="Loan Fee 02Val Min:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee02ValMin" value="#{saleConditionTypeBean.saleConditionType.loanFee02ValMin}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee02ValMax" value="Loan Fee 02Val Max:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee02ValMax" value="#{saleConditionTypeBean.saleConditionType.loanFee02ValMax}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee03CalcType" value="Loan Fee 03Calc Type:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee03CalcType" value="#{saleConditionTypeBean.saleConditionType.loanFee03CalcType}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee03Perc" value="Loan Fee 03Perc:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee03Perc" value="#{saleConditionTypeBean.saleConditionType.loanFee03Perc}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee03ValMin" value="Loan Fee 03Val Min:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee03ValMin" value="#{saleConditionTypeBean.saleConditionType.loanFee03ValMin}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee03ValMax" value="Loan Fee 03Val Max:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee03ValMax" value="#{saleConditionTypeBean.saleConditionType.loanFee03ValMax}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee04CalcType" value="Loan Fee 04Calc Type:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee04CalcType" value="#{saleConditionTypeBean.saleConditionType.loanFee04CalcType}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee04Perc" value="Loan Fee 04Perc:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee04Perc" value="#{saleConditionTypeBean.saleConditionType.loanFee04Perc}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee04ValMin" value="Loan Fee 04Val Min:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee04ValMin" value="#{saleConditionTypeBean.saleConditionType.loanFee04ValMin}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee04ValMax" value="Loan Fee 04Val Max:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee04ValMax" value="#{saleConditionTypeBean.saleConditionType.loanFee04ValMax}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee05CalcType" value="Loan Fee 05Calc Type:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee05CalcType" value="#{saleConditionTypeBean.saleConditionType.loanFee05CalcType}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee05Perc" value="Loan Fee 05Perc:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee05Perc" value="#{saleConditionTypeBean.saleConditionType.loanFee05Perc}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee05ValMin" value="Loan Fee 05Val Min:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee05ValMin" value="#{saleConditionTypeBean.saleConditionType.loanFee05ValMin}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeLoanFee05ValMax" value="Loan Fee 05Val Max:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeLoanFee05ValMax" value="#{saleConditionTypeBean.saleConditionType.loanFee05ValMax}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeCcInterestRateDiscVal" value="Cc Interest Rate Disc Val:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeCcInterestRateDiscVal" value="#{saleConditionTypeBean.saleConditionType.ccInterestRateDiscVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeCcInterestRateDiscPerc" value="Cc Interest Rate Disc Perc:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeCcInterestRateDiscPerc" value="#{saleConditionTypeBean.saleConditionType.ccInterestRateDiscPerc}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeStatusIsActive" value="Status Is Active:"/>
			<h:outputText id="saleConditionTypeBeanSaleConditionTypeStatusIsActive" value="#{saleConditionTypeBean.saleConditionType.statusIsActive}"/>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeSaleConditionTypeOrgAllows" value="Sale Condition Type Org Allows:"/>
			<h:dataTable id="saleConditionTypeBeanSaleConditionTypeSaleConditionTypeOrgAllows" styleClass="data-table" value="#{forgeview:asList(saleConditionTypeBean.saleConditionType.saleConditionTypeOrgAllows)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Status Is Auto Extend Allow End Dtm"/>
					</f:facet>
					<h:link outcome="/form/saleConditionTypeOrgAllow/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemStatusIsAutoExtendAllowEndDtm" value="#{_item.statusIsAutoExtendAllowEndDtm}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeSaleLoanOffers" value="Sale Loan Offers:"/>
			<h:dataTable id="saleConditionTypeBeanSaleConditionTypeSaleLoanOffers" styleClass="data-table" value="#{forgeview:asList(saleConditionTypeBean.saleConditionType.saleLoanOffers)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rec No"/>
					</f:facet>
					<h:link outcome="/form/saleLoanOffer/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="itemRecNo" value="#{_item.recNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Loan Type No"/>
					</f:facet>
					<h:link outcome="/form/saleLoanOffer/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="itemLoanTypeNo" value="#{_item.loanTypeNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeSaleConditionTypeLoanTerms" value="Sale Condition Type Loan Terms:"/>
			<h:dataTable id="saleConditionTypeBeanSaleConditionTypeSaleConditionTypeLoanTerms" styleClass="data-table" value="#{forgeview:asList(saleConditionTypeBean.saleConditionType.saleConditionTypeLoanTerms)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Loan Term Min Val"/>
					</f:facet>
					<h:link outcome="/form/saleConditionTypeLoanTerm/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemLoanTermMinVal" value="#{_item.loanTermMinVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Loan Term Max Val"/>
					</f:facet>
					<h:link outcome="/form/saleConditionTypeLoanTerm/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemLoanTermMaxVal" value="#{_item.loanTermMaxVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Loan Term Val"/>
					</f:facet>
					<h:link outcome="/form/saleConditionTypeLoanTerm/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemLoanTermVal" value="#{_item.loanTermVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Loan Term Val Type No"/>
					</f:facet>
					<h:link outcome="/form/saleConditionTypeLoanTerm/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemLoanTermValTypeNo" value="#{_item.loanTermValTypeNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeSaleLoanContracts" value="Sale Loan Contracts:"/>
			<h:dataTable id="saleConditionTypeBeanSaleConditionTypeSaleLoanContracts" styleClass="data-table" value="#{forgeview:asList(saleConditionTypeBean.saleConditionType.saleLoanContracts)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Hr Emp"/>
					</f:facet>
					<h:link outcome="/form/saleLoanContract/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="forgeviewdisplayitemHrEmp" value="#{forgeview:display(_item.hrEmp)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Cust"/>
					</f:facet>
					<h:link outcome="/form/saleLoanContract/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="forgeviewdisplayitemSysCust" value="#{forgeview:display(_item.sysCust)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Vehicle Brand"/>
					</f:facet>
					<h:link outcome="/form/saleLoanContract/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="forgeviewdisplayitemSysVehicleBrand" value="#{forgeview:display(_item.sysVehicleBrand)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sale Loan Grade"/>
					</f:facet>
					<h:link outcome="/form/saleLoanContract/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="forgeviewdisplayitemSaleLoanGrade" value="#{forgeview:display(_item.saleLoanGrade)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Org"/>
					</f:facet>
					<h:link outcome="/form/saleLoanContract/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="forgeviewdisplayitemSysOrg" value="#{forgeview:display(_item.sysOrg)}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="saleConditionTypeBeanSaleConditionTypeSaleConditionTypeCcRates" value="Sale Condition Type Cc Rates:"/>
			<h:dataTable id="saleConditionTypeBeanSaleConditionTypeSaleConditionTypeCcRates" styleClass="data-table" value="#{forgeview:asList(saleConditionTypeBean.saleConditionType.saleConditionTypeCcRates)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cc Interest Rate Disc Calc Type"/>
					</f:facet>
					<h:link outcome="/form/saleConditionTypeCcRate/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCcInterestRateDiscCalcType" value="#{_item.ccInterestRateDiscCalcType}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cc Interest Rate Disc Val"/>
					</f:facet>
					<h:link outcome="/form/saleConditionTypeCcRate/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCcInterestRateDiscVal" value="#{_item.ccInterestRateDiscVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cc Interest Rate Disc Perc"/>
					</f:facet>
					<h:link outcome="/form/saleConditionTypeCcRate/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCcInterestRateDiscPerc" value="#{_item.ccInterestRateDiscPerc}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>